//
//  DeviceModel.h
//  CityFire
//
//  Created by Liuyz on 2017/8/15.
//  Copyright © 2017年 刘养柱. All rights reserved.
//

#import "BaseModel.h"

@interface DeviceModel : BaseModel

@property (nonatomic, strong) NSNumber *num;
@property (nonatomic, copy) NSString *deviceType;
@property (nonatomic, strong) NSNumber *dviceCode;
@property (nonatomic, copy) NSString *deviceName;
@property (nonatomic, copy) NSString *deviceOrg;
@property (nonatomic, copy) NSString *deviceAddress;
@property (nonatomic, copy) NSString *longitude;
@property (nonatomic, copy) NSString *latitude;
@property (nonatomic, copy) NSString *remark;
@property (nonatomic, copy) NSString *status;
@property (nonatomic, copy) NSString *cjInterval;
@property (nonatomic, copy) NSString *lastTime;
@property (nonatomic, copy) NSString *linkMan;
@property (nonatomic, copy) NSString *phone;
@property (nonatomic, strong) NSNumber *detectorAmount;
@property (nonatomic, copy) NSString *controllerManufacturer;
@property (nonatomic, copy) NSString *controllerSpec;
@property (nonatomic, copy) NSString *itemCode;
@property (nonatomic, copy) NSString *purchaseTime;
@property (nonatomic, copy) NSString *wbnx;
@property (nonatomic, copy) NSString *hotline;
//
//
//
//"num":3,
//"deviceType":"2333111111gg",
//"deviceCode":222221,
//"deviceName":"编号2设备",
//"deviceOrg":"万达广场",
//"deviceAddress":"7F-9",
//"longitude":"1111.111",
//"latitude":"111.111",
//"remark":"2ddd",
//"status":"01",
//"cjInterval":"[cj_interval]",
//"lastTime":null,
//"linkMan":"xxxxx",
//"phone":"xxxx",
//"detectorAmount":22,
//"controllerManufacturer":"xxxxx",
//"controllerSpec":"xxxxxx",
//"itemCode":"xxxxx",
//"purchaseTime":"2017-04-06",
//"wbnx":"xxxxxxxxx",
//"hotline":"11111111111"
@end

@interface PersonOrgsModel : BaseModel

@property (nonatomic, strong) NSArray *porgsArray;

@end

@interface DevicesModel : BaseModel

@property (nonatomic, strong) NSArray *devicesArray;
@property (nonatomic, assign) NSInteger devicenum;
@property (nonatomic, assign) NSInteger detectorAmount;

//"devicenum": 5,            --设备个数
//        "detectorAmount": 29
@end
